package com.cdeledu.thread;

import java.util.concurrent.TimeUnit;

public class SleepUtils {

	public static final void second(long seconds){
		try {
			// 这里抛出异常后，会清除interrupt标识
			TimeUnit.SECONDS.sleep(seconds);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

}
